package com.ruoyi.transaction.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.transaction.domain.OrderItemTmp;
import com.ruoyi.transaction.vo.OrderItemTmpVo;

import java.util.List;

/**
 * Created by gzdmt01 on 2019/3/29.
 */
public interface IOrderItemTmpService {
    public AjaxResult insert(OrderItemTmp item);

    public AjaxResult batchInsert(List<OrderItemTmp> item, Integer userId);

    List<OrderItemTmpVo> listOrederItemTmp(Long userId, OrderItemTmp orderItemTmp);


    OrderItemTmp selectById(Integer orderItemTmpId);


    int editSaveOrderItemTmp(OrderItemTmp orderItemTmp);


    AjaxResult deleteByIds(String itemIds, Long userId);

    List<OrderItemTmp> listOrederItemTmpByIds(Long userId, Integer[] ids);
}
